// 门店管理模块 路径
import Home from "@/view/home.vue"
import { RouteRecordRaw } from "vue-router"

const storeRouter: RouteRecordRaw = // 门店管理
{
  path: '/store',
  redirect: '/store/Location',
  name: 'storesLocation',
  component: Home,
  meta: {
    title: 'menus.wStoreManger',
    permission: "system:store",
    icon: 'LocationInformation'
  },
  children: [
    {
      path: 'Location',
      name: 'storesLocation',
      component: () => import('@/view/children/store/index.vue'),
      meta: {
        title: 'menus.wStoreManger',
        icon: 'LocationInformation',
        permission: "system:store",
      }
    }
  ]
}

export default storeRouter